#ifndef CAMERAINFO_H
#define CAMERAINFO_H

#include "baseresp.h"
#include <QMetaType>

class CameraInfo : public BaseResp
{
public:
    CameraInfo();

    enum CameraStatus{
        CAMERA_DISABLE=0,
        CAMERA_ENABLED,
        CAMERA_STATUS_MAX
    };

    void unserialize(QString json);

    int getEnable() const;
    void setEnable(int value);

private:
    int enable;
};

Q_DECLARE_METATYPE(CameraInfo)

#endif // CAMERAINFO_H
